import { TriangleAlert } from 'lucide-react'
import Link from 'next/link'

export default function UpgradeAlert() {
  return (
    <div className="border-l-4 border-yellow-400 bg-yellow-50 p-4">
      <div className="flex">
        <div className="flex-shrink-0">
          <TriangleAlert className="h-5 w-5 text-yellow-400" aria-hidden="true" />
        </div>
        <div className="ml-3">
          <p className="text-sm text-yellow-700">
            You have reached your account limit.{' '}
            <Link href="/billing" className="font-medium text-yellow-700 underline hover:text-yellow-600">
              To continue, upgrade your plan.
            </Link>
          </p>
        </div>
      </div>
    </div>
  )
}
